-
Notifications
You must be signed in to change notification settings - Fork 1
fix: handle missing fields gracefully and prevent infinite recursion … #259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…in schema generation
11 new issues
|
| end | ||
| end | ||
|
|
||
| def log_missing_relation_field(collection_name, field_name, field_type, relation_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| end | ||
| return check_many_to_many_published?(field, visited) if field.type == 'ManyToMany' | ||
|
|
||
| true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return false | ||
| end | ||
|
|
||
| published?(field.origin_key_target, visited) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| through_collection.published?(field.foreign_key, visited) && | ||
| through_collection.published?(field.origin_key, visited) && | ||
| published?(field.origin_key_target, visited) && | ||
| foreign_collection.published?(field.foreign_key_target, visited) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…in schema generation
Definition of Done
General
Security